package com.twxm.breed.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.twxm.breed.entity.CategoryInfo;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface CategoryInfoMapper extends BaseMapper<CategoryInfo> {
    void insertCategory(CategoryInfo categoryInfo);

    Integer getId(CategoryInfo categoryInfo);

    CategoryInfo getCateById(String cateId);

    String getProductKey(CategoryInfo categoryInfo);

}
